import request from '@/request/request.js'

function queryAllCustomer(data) {
  return request.post('/api/customer/queryAllCustomer', data)
}

function saveCustomer(data) {
  return request.post('/api/customer/saveCustomer', data)
}

function deleteCustomerById(data) {
  return request.get('/api/customer/deleteCustomerById', { params: data })
}

function reviseCustomerInfo(data) {
  return request.get('/api/customer/reviseCustomerInfo', { params: data })
}
function queryFoodManage(data) {
  return request.get('/api/customer/queryFoodManage', { params: data })
}
export {
  queryAllCustomer,
  saveCustomer,
  deleteCustomerById,
  reviseCustomerInfo,
  queryFoodManage
}
